Update how a PathSource is traversed for git repos
authorAlex Crichton <alex@alexcrichton.com>
Tue, 6 Jan 2015 07:54:16 +0000 (23:54 -0800)
committerAlex Crichton <alex@alexcrichton.com>
Thu, 8 Jan 2015 20:51:14 +0000 (12:51 -0800)
commit5935ec1dd8bb342418b29b89d997db5a72be3607
tree2b7e09318f1b105b6289b4444780ee33125445f4
parentc4e9e6d6f7a741e24cfe9239bd2c8521886403b6
Update how a PathSource is traversed for git repos

This fixes a number of bugs along the way:

* Submodules are now recursed into explicitly for packaging, fixing #943
* A whitelist has been implemented, fixing #880
* Git repos are now always used if there is a package that resides at the root,
  not just if the current package resides at the root.
src/cargo/core/manifest.rs
src/cargo/ops/cargo_new.rs
src/cargo/sources/path.rs
src/cargo/util/toml.rs
src/doc/crates-io.md
tests/test_cargo_package.rs
tests/test_cargo_registry.rs